<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
	<div class="form-group">
       <label for="apply_avatar" class="control-label col-xs-12 col-sm-2">头像：</label>
       <div class="col-xs-12 col-sm-9">
           <div class="input-group">
               <input id="apply_avatar" data-rule="required" class="form-control" size="50" name="row[apply_avatar]" type="text" value="{$apply_row['apply_avatar']}" placeholder="请上传一寸或二寸证件照" disabled>
               <div class="input-group-addon no-border no-padding">
                   <span><button type="button" id="avatar" class="btn btn-danger plupload" data-input-id="apply_avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-apply_avatar"><i class="fa fa-upload"></i>上传</button></span>
               </div>
               <span class="msg-box n-right" for="apply_avatar"></span>
           </div>
           <ul class="row list-inline plupload-preview" id="p-apply_avatar"></ul>
       </div>
	</div>
	<div class="form-group">
		<label for="inputPassword3" class="col-sm-2 col-xs-12 control-label">* 报考岗位：</label>
		<div class="col-sm-9 col-xs-12">
          	<select name="row[recruit_post_id]" data-rule="required" class="form-control" disabled>
				<option value="">请选择</option>
				{volist name='post_list' id='post'}
					<option {eq name='apply_row.recruit_post_id' value='$post.post_id'}selected{/eq} value="{$post.post_id}">{$post.post_name}</option>
				{/volist}
			</select>
		</div>
	</div>
	{volist name='column_list' id='column'}
		<div class="form-group">
			<label class="col-sm-2 control-label">{eq name='column.is_required' value='required'}*{/eq} {$column.column_name_cn}：</label>
			<div class="col-sm-9">
				{eq name='column.column_type' value='text'}
           			<input id='{$column.column_name}' name="row[{$column.column_name}]" type="text" value="{$apply_row[$column['column_name']]}" class="form-control"  
           			data-rule="{$column.is_required};{$column.column_required}" placeholder="{$column.column_placeholder}" disabled>
				{/eq}
				{eq name='column.column_type' value='date'}
           			<input id='{$column.column_name}' name="row[{$column.column_name}]" type="text" value="{$apply_row[$column['column_name']]}" class="form-control datetimepicker"  data-date-format="YYYY-MM-DD"
           			data-rule="{$column.is_required};{$column.column_required}" placeholder="{$column.column_placeholder}" disabled>
				{/eq}
				{eq name='column.column_type' value='textarea'}
           			<textarea id='{$column.column_name}' name="row[{$column.column_name}]"  rows="3" class="form-control"  disabled
           			data-rule="{$column.is_required};{$column.column_required}" placeholder="{$column.column_placeholder}">{$apply_row[$column['column_name']]}</textarea>
				{/eq}
				{eq name='column.column_type' value='select'}
					<select id='{$column.column_name}' name="row[{$column.column_name}]"  class="form-control" disabled data-rule="{$column.is_required};{$column.column_required}" >
						<option value="">请选择</option>
						{volist name='column.column_options' id='option'}
						<option {eq name='apply_row[$column[column_name]]' value='$option'}selected{/eq} value="{$option}">{$option}</option>
						{/volist}
					</select>
           		{/eq}
       		</div>
		</div>
	{/volist}
	<div class="form-group">
       <label for="apply_attach" class="control-label col-xs-12 col-sm-2">附件：</label>
       <div class="col-xs-12 col-sm-9">
           <div class="input-group">
               <input id="apply_attach" data-rule="" class="form-control" size="50" name="row[apply_attach]" type="text" value="{$apply_row['apply_attach']}" placeholder="{$rec_row.recruit_attach_desc} " disabled>
               <div class="input-group-addon no-border no-padding">
                   <span><button type="button" id="attach" class="btn btn-danger plupload" data-input-id="apply_attach" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-apply_attach"><i class="fa fa-upload"></i>上传</button></span>
               </div>
               <span class="msg-box n-right" for="apply_attach"></span>
           </div>
           <ul class="row list-inline plupload-preview" id="p-apply_attach"></ul>
       </div>
   </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
            {:build_radios('row[status]', ['agree'=>__('Agree'), 'reject'=>__('Reject'), 'disagree'=>__('Disagree'),
            'pay'=>__('Pay'),'paid'=>__('Paid'),'exam_downloading'=>__('Exam_downloading'),'exam_downloaded'=>__('Exam_downloaded'),
            'interview_downloading'=>__('Interview_downloading'),'interview_downloaded'=>__('Interview_downloaded'),
            ], $apply_row['status'])}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="c-nickname" class="control-label col-xs-12 col-sm-2">{:__('memo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea name="row[memo]" id="content" cols="30" rows="5" class="form-control">{$apply_row['memo']}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
